﻿using BooksLib.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace BooksLib.Repositories
{
    public  interface IMyBooksRepository
    {
        Task<MyBook> AddAsync(MyBook item);
        Task<bool> DeleteAsync(int id);
        Task<MyBook> GetItemAsync(int id);
        Task<IEnumerable<MyBook>> GetItemsAsync();
        Task<MyBook> UpdateAsync(MyBook item);

    }
}
